<?php
declare (strict_types=1);

namespace app\common\enum\user\grade\log;

/**
 * 会员等级变更记录表 -> 变更类型
 * Class ChangeType
 * @package app\common\enum\user\grade\log
 */
class ChangeType
{
    // 后台管理员设置
    const ADMIN_USER = 10;

    // 自动升级
    const AUTO_UPGRADE = 20;

    /**
     * 获取订单类型值
     * @return array
     */
    public static function data(): array
    {
        return [
            self::ADMIN_USER => [
                'name' => '后台管理员设置',
                'value' => self::ADMIN_USER,
            ],
            self::AUTO_UPGRADE => [
                'name' => '自动升级',
                'value' => self::AUTO_UPGRADE,
            ]
        ];
    }

}